Skip to content

Move local execution, candidate preparation and trials into Harness Executor - #731

Open
Dong1017 wants to merge 2 commits into
mainfrom
codex/702-p6-executor-review
Open

Dong1017 wants to merge 2 commits into
mainfrom
codex/702-p6-executor-review

Conversation

@Dong1017

@Dong1017 Dong1017 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Governing Issue and delivery slice

Refs #702

Codex, acting for @Dong1017, submits P6. Its dependencies P2 (#722) and P5 (#727) have merged. The implementation is based on 1c5e9d40. The second commit updates one RunStore import-dependency assertion. The public imports, old-package baseline, and target behavior follow the accepted scope and pre-migration CPU runs.

Anchors touched: none. The architecture guide updates four implementation path references. The layer, execution, cleanup and evidentiary contracts retain their existing definitions.

Public API and implementation

  • from inferrsi.harness.executor import LocalCpuTarget, prepare_generation, read_prepared_binding, project_prepared_binding, verify_prepared_binding. The existing Harness facade continues to live under inferrsi.harness.api. Executor exposes its target lazily. Importing only request_digest starts with neither SQLite, RunStore nor the execution implementation loaded.
  • Migrate local processes, launch records, trials, device leases, input binding, candidate retention, confinement and Skill Eval capture under Executor. The Manager calls its injected supervisor for the process-domain check. Update the Apps wiring, callers, architecture checks, installed checks, upgrade notes and archived replay manifest paths together.
  • Remove the legacy api.LocalCpuTarget, root harness.Verdict / harness.parse_verdict, and the old module paths. The 42 existing definitions in the four candidate/confinement/Skill Eval/sandbox modules retain identical ASTs. P7 owns ordinary workflow dispatch, P8 service lifecycle and P9 session integration.

Acceptance on the submitted commit

Normal wheel inferrsi-0.3.5.dev12+g998eece0-py3-none-any.whl has SHA-256 1acd1ef7ad33bb131a3ac7c364b08a40b7ec46d1c7ac6b7506666229ef1850e7. Source archive SHA-256 f9986ca264326f8da84d62d408c5ab296689d4a835eeeb8fa1fe41cd26cd0420. Tested from outside the checkout.

Behavior Observed result
Package and compatibility 1,029 installed package files checked against the wheel. A clean venv passed the repository's installed check with 775 resource files and all seven D007 packs. All 12 legacy root modules and the three superseded public aliases were absent.
Real local CPU and recovery One successful child launch. Replaying its attempt returned the same record. Changing the request under that ID raised RequestConflict. A changed bound candidate was rejected before launch. A real timed-out child returned confirmed termination, process exit and an empty process domain. Replaying preserved the original record.
Prepared candidate API Compared the four imports with the P5 normal wheel. The 2,069-byte request produced digest 62ce11e6d458b5c581245d0988189e1bd834f2ed1e1880d15242faf70c5b6fe9. The 2,690-byte prepared document, bound projection, error class/codes and D023 failure vectors matched. Installed preparation/bounds suite 93 passed, retained-source/replay/cleanup cases 7 passed.
Ordinary session and #693 The 53 static fingerprint paths and their bytes matched in Git, wheel, installation and persisted plan. Real arguments and benchmark children ran before a controlled interruption. benchmarks session recover and campaign recover each ran only the missing assess on its own copy. Eight status/recover calls across the two frozen sessions rejected the changed fingerprint with zero child starts and byte-identical files.

Receipt SHA-256 for the CPU/API probe 0d47497a16ef3ec7060444333a9523c3798fa88f5d08e85f67ab6fb586c78372, prepared API comparison a39c61f435362cc8f25a5318b32a0cfd9e8db6a7a2d3d33df58c325d3add9932, and ordinary fingerprint/replays 41b6c7033d9fbae2d9eb7de0040cae4eabbf534eb044fffb6385466bbd643138. Pre-integration receipts and detailed inventory

Checks and dependencies

ruff check src tests tools and git diff --check passed. The initial implementation tree 08999e8fda336eac725c3d023344fa2fd79bc3cd also passed 469 architecture checks, 75 caller checks and 107 trial tests (61 platform skips). The delivery/Skill Eval group on Windows had 151 pass, five skips and 15 failures. The same 15 tests failed on the pre-migration tree: ten require Windows symlink privileges and five depend on LF fixture bytes. The first Linux full run found one outdated assertion requiring RunStore to import the former root Verdict. The revised test starts a clean interpreter and compares the complete set of imported InferRSI modules against the allowed set. The RunStore suite on the revision passed 49 tests with one platform skip. Both Linux installed-package jobs passed on the revision. Original failing assertion

At submission #699 and #709 were open. #699 shares six paths including project/session imports and tests. #709 shares nine, including the optimization and session modules, installed check and CLI migration docs. The scope and ownership of those PRs remain as recorded on their own Issues.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "998eece06d560849af81003645d60e30d9d7c2d9",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-astra",
      "effort": "max",
      "role": "author"
    }
  ]
}

Remaining Issue work

P6 is ready for independent review. P7–P9 and the final installed main acceptance remain under #702. The accepted closure owner is @Dong1017.

…xecutor

Move local CPU execution, trials, leases, generation bindings and candidate evidence into Executor. Migrate the public callers and Apps wiring, keep cleanup through the injected supervisor, and verify the retired imports and retained sessions.

Signed-off-by: dongxinwen <[email protected]>
Agent-assisted-by: Codex (author)
Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author)
Signed-off-by: dongxinwen <[email protected]>
@Dong1017 Dong1017 added the area:harness Harness module: profile, A/B loop, quality gates, evidence reports label Nov 26, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017 请求复核 P6 当前提交 a22636c51cd9eb2d2b143c0716fd3ab57aa3f608。P2、P5 已合入;PR 正文列出了这个提交的正常 wheel、回执摘要和 Windows 基线差异。

@david6666666 请核对 Executor 的四个 prepared-binding 包层入口以及 retained candidate 变化时的拒绝路径。重点是旧 RunStore 固定版本的读取、异常类型身份和冷导入 request_digest 的依赖。

@zengchuang-hw 请核对本地 target、进程组清理、同一 attempt 重放及普通会话的 53 份静态指纹。两个恢复入口分别在自己的检查点副本上仅补 assess。请在这个提交上提交正式评审。

@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Skill evaluation

PLANNED: not executed; there are no task outcomes yet.
No approval, model efficacy or current-head test result is implied.

  • Next: resolve check applicability at head 998eece06d560849af81003645d60e30d9d7c2d9.
  • Task selection: no supported automatic comparison; choose a relevant source/content check and disposition uncovered claims.
  • Selected comparisons: 0 · Estimated task calls: 0. Uncovered/unsupported changes: 134; Canonical library paths: 0; Generated projection paths: 0; Other paths: 134. These are paths, not independent claims.
  • Return: command, input/source pin, exit status, outputs/failures and untested claims for independent verified/refuted/unverified disposition.
Author verification steps (nonpaid; not yet run)
  1. Bind the checkout. Run git rev-parse HEAD; it must equal 998eece06d560849af81003645d60e30d9d7c2d9. If it differs, obtain a current plan; do not reuse old results.
  2. Choose an applicable check. Match each changed behavior to the task below or a source/content check; a path match alone does not establish relevance.
    No supported automatic comparison is selected. Review the canonical changes and explain which claims need evidence, are unaffected, or remain unverified; do not treat generated records as separate behavioral claims.
    Uncovered scope by location: Canonical library paths: 0; Generated projection paths: 0; Other paths: 134. Path counts are not claim counts; no metadata-only conclusion is inferred.
  3. Return evidence for independent review: head, check/task/source pin, command, environment, exit status, outputs/failures and untested claims. Label scripted controls. Request each claim's disposition: verified, refuted or unverified; this plan proves neither model provenance nor benefit.
    Check recipes and evidence limits

Evidence and logs · Retention: 30 days.
Retained artifacts are verifiable only before Unix time 1798319358 while the linked artifact is available. Expired evidence is unverified.

Plan bindings, budget, frozen exam and advisory details

Advisory: obtain missing evidence

Retained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Applicable only while these revisions and inputs match the current PR.
Paid execution requires trusted label authorization and cumulative PR reservation. Unknown accounting blocks new paid calls; planning is not execution.
Pipeline evidence only; offline fixed outputs do not establish skill efficacy.
Unchanged-correct is valid neutral evidence, not incremental benefit.
Content/source review and authorship admission remain separate.
Trusted regrading checks retained answers, not model/hardware provenance or a hostile executor; this is not an efficacy certification.

  • Retained evidence is planned / unexecuted.
  • No supported comparison cases were selected.
  • Uncovered/unsupported scope needs a case or explicit reviewer disposition.
    Plan SHA-256: 5afb833d7767b102db972b3efb8dda52083c8ce4fcb91da86c802172f7de512e
    Base: 1c5e9d40de9b56f29a01d27b7f329245b56599b7 · Head: 998eece06d560849af81003645d60e30d9d7c2d9
    Trusted implementation: 1c5e9d40de9b56f29a01d27b7f329245b56599b7

Model/settings: {"effort":"not_applicable","name":"claude-opus-5-5"}
Budget: {"comparisons":0,"estimated_calls":0,"limits_per_comparison":{"campaign_seconds":600,"max_task_calls":2,"repeats":1,"timeout_seconds":180,"token_stop_new_trials":200000},"provider_config_sha256":"b28d80f8194fbe0f5a9f01515efb24b218979fd45f702776560da276f4b30d04","reservation":null}

Skill Comparison Cases Estimated calls

Automatic execution / cumulative PR budget:

{"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}

Provider/settings: {"client":{"api_version":"2023-06-01","endpoint":"https://yibuapi.com/v1/messages","kind":"anthropic-messages-full-context-v1","max_output_tokens":4096,"max_read_bytes":32768,"max_request_bytes":262144,"max_requests":1,"max_tool_calls":12,"provider":"yibuapi"},"limits":{"token_stop_new_trials":200000},"model":{"effort":"not_applicable","name":"claude-opus-5-5"},"pricing":{"currency":"USD","expires_at":1793271228,"group":"default","max_input_tokens":1000000,"model":"claude-opus-5-5","rate_evidence":"https://github.com/InferMatrixLab/InferRSI/issues/215#issuecomment-6467531341","rates":{"cache_read":"0.4","cache_write":"10","input":"8","output":"40"},"request_fee":"0","unit":"per_million_tokens"},"spend_limit":{"amount":"200","currency":"USD"}}

Uncovered / unsupported paths (134)
  • uncovered: "CHANGELOG.md"
  • uncovered: "docs/apps-module-migrations.json"
  • uncovered: "docs/architecture.md"
  • uncovered: "docs/assets/modular-directory-map-en.svg"
  • uncovered: "docs/benchmarks/moe-forward-benchmark.md"
  • uncovered: "docs/contracts/function-owners.md"
  • uncovered: "docs/contracts/gate-policy-runstore-and-first-prs.md"
  • uncovered: "docs/contracts/generation-bounds.md"
  • uncovered: "docs/contracts/generation-feedback-policy.md"
  • uncovered: "docs/contracts/generation-feedback.md"
  • uncovered: "docs/contracts/harness-entry-verification.md"
  • uncovered: "docs/contracts/harness-evaluation-replay.md"
  • uncovered: "docs/contracts/harness-prepared-binding.md"
  • uncovered: "docs/contributing.md"
  • uncovered: "docs/guides/module-layout.md"
  • uncovered: "docs/guides/operations.md"
  • uncovered: "docs/guides/skill-evaluation/README.md"
  • uncovered: "docs/guides/skill-evaluation/local-skill-evaluation.md"
  • uncovered: "docs/guides/skill-evaluation/skill-eval-cloud-replay.md"
  • uncovered: "docs/guides/speculative-search.md"
  • uncovered: "evidence/qwen-vats-gvo-910b1-20261124/plan/retained-sha256.json"
  • uncovered: "evidence/qwen-vats-gvo-910b1-20261124/validator/check.py"
  • uncovered: "src/inferrsi/apps/cli/evaluate.py"
  • uncovered: "src/inferrsi/apps/delivery/snapshot.py"
  • uncovered: "src/inferrsi/apps/legacy/run.py"
  • uncovered: "src/inferrsi/apps/workflows/search_benchmarks.py"
  • uncovered: "src/inferrsi/apps/workflows/skill_eval_engineering.py"
  • uncovered: "src/inferrsi/apps/workflows/skill_evaluation.py"
  • uncovered: "src/inferrsi/harness/README.md"
  • uncovered: "src/inferrsi/harness/init.py"
  • uncovered: "src/inferrsi/harness/api/init.py"
  • uncovered: "src/inferrsi/harness/api/_harness.py"
  • uncovered: "src/inferrsi/harness/artifact_sandbox.py"
  • uncovered: "src/inferrsi/harness/attempt_recovery.py"
  • uncovered: "src/inferrsi/harness/candidates.py"
  • uncovered: "src/inferrsi/harness/confinement.py"
  • uncovered: "src/inferrsi/harness/device_lease.py"
  • uncovered: "src/inferrsi/harness/entry_code.py"
  • uncovered: "src/inferrsi/harness/evidence_capture.py"
  • uncovered: "src/inferrsi/harness/execution_service.py"
  • uncovered: "src/inferrsi/harness/executor/init.py"
  • uncovered: "src/inferrsi/harness/executor/_entry_code.py"
  • uncovered: "src/inferrsi/harness/executor/_evidence_capture.py"
  • uncovered: "src/inferrsi/harness/executor/_execution.py"
  • uncovered: "src/inferrsi/harness/executor/_generation.py"
  • uncovered: "src/inferrsi/harness/executor/_generation_feedback.py"
  • uncovered: "src/inferrsi/harness/executor/_generation_lineage.py"
  • uncovered: "src/inferrsi/harness/executor/_input_binding.py"
  • uncovered: "src/inferrsi/harness/executor/_prepared_binding.py"
  • uncovered: "src/inferrsi/harness/executor/_target.py"
  • uncovered: "src/inferrsi/harness/executor/artifact_sandbox.py"
  • uncovered: "src/inferrsi/harness/executor/candidates.py"
  • uncovered: "src/inferrsi/harness/executor/confinement.py"
  • uncovered: "src/inferrsi/harness/executor/device_lease.py"
  • uncovered: "src/inferrsi/harness/executor/launch_records.py"
  • uncovered: "src/inferrsi/harness/executor/local_process.py"
  • uncovered: "src/inferrsi/harness/executor/skill_evaluation.py"
  • uncovered: "src/inferrsi/harness/executor/trials/init.py"
  • uncovered: "src/inferrsi/harness/executor/trials/external.py"
  • uncovered: "src/inferrsi/harness/generation.py"
  • uncovered: "src/inferrsi/harness/generation_feedback.py"
  • uncovered: "src/inferrsi/harness/generation_lineage.py"
  • uncovered: "src/inferrsi/harness/input_binding.py"
  • uncovered: "src/inferrsi/harness/launch_records.py"
  • uncovered: "src/inferrsi/harness/local_process.py"
  • uncovered: "src/inferrsi/harness/manager/_runner.py"
  • uncovered: "src/inferrsi/harness/manager/search/_engine.py"
  • uncovered: "src/inferrsi/harness/manager/search/search_adapter.py"
  • uncovered: "src/inferrsi/harness/optimization.py"
  • uncovered: "src/inferrsi/harness/optimization_session.py"
  • uncovered: "src/inferrsi/harness/parallel_round.py"
  • uncovered: "src/inferrsi/harness/prepared_binding.py"
  • uncovered: "src/inferrsi/harness/project_service.py"
  • uncovered: "src/inferrsi/harness/skill_evaluation.py"
  • uncovered: "src/inferrsi/harness/task_protocol.py"
  • uncovered: "src/inferrsi/harness/trials/init.py"
  • uncovered: "src/inferrsi/harness/trials/external.py"
  • uncovered: "tests/apps/test_anthropic_agent.py"
  • uncovered: "tests/apps/test_apps_evaluate_cli.py"
  • uncovered: "tests/apps/test_apps_evidence_capture.py"
  • uncovered: "tests/apps/test_apps_fixed_cpu_views.py"
  • uncovered: "tests/apps/test_apps_generation_plan.py"
  • uncovered: "tests/apps/test_apps_generation_views.py"
  • uncovered: "tests/apps/test_apps_module_migrations.py"
  • uncovered: "tests/apps/test_apps_port_validation.py"
  • uncovered: "tests/apps/test_apps_production_cli.py"
  • uncovered: "tests/apps/test_legacy_run_split.py"
  • uncovered: "tests/apps/test_optimization_session.py"
  • uncovered: "tests/apps/test_project_optimization.py"
  • uncovered: "tests/apps/test_project_service_reuse.py"
  • uncovered: "tests/apps/test_search_benchmarks.py"
  • uncovered: "tests/apps/test_trial_checks.py"
  • uncovered: "tests/apps/test_yibuapi_runtime.py"
  • uncovered: "tests/benchmark/test_benchmark_cpu_smoke.py"
  • uncovered: "tests/benchmark/test_benchmark_operations.py"
  • uncovered: "tests/benchmark/test_moe_benchmark.py"
  • uncovered: "tests/campaigns/test_qwen_gvo_diagnostic.py"
  • uncovered: "tests/contracts/test_contracts_package.py"
  • uncovered: "tests/harness/test_confinement.py"
  • uncovered: "tests/harness/test_harness_entry_verification.py"
    Additional paths omitted; see retained evidence.

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Dong-bot (authorized delegate) PTAL on head a22636c51cd9eb2d2b143c0716fd3ab57aa3f608, base 1c5e9d40de9b56f29a01d27b7f329245b56599b7. This is a self-review (PR author is Dong1017), so this COMMENT is not an independent approval.

Blockers

  1. Incomplete diff seed. pr/meta.json has diffComplete: false, so the seeded diff does not show the whole change. pr/diff.patch is a single ~151 KB line that I could not page here, so I did not review the patch text line by line. Under the review policy this cannot PASS. Needed: a complete diff for this head, or a complete per-file review of the part that is missing.
  2. No independent approval on this head. pr/prior-reviews.md lists no formal review on a22636c5. The thread asks @david6666666 (prepared-binding entries, retained-candidate rejection, cold import of request_digest) and @zengchuang-hw (local target, process-group cleanup, same-attempt replay, 53 static fingerprints) to review. Neither has posted. Merge needs two eligible approvals from accounts that are not the author or accountable parent.
  3. CI and baseline not in evidence. The PR body says Linux full-suite and installed results "will be recorded by this PR's CI". The seed has no check results. The Windows delivery/Skill Eval group shows 15 failures (151 pass, 5 skip). The body says the same 15 fail on the pre-migration tree (10 symlink-privilege, 5 LF fixture). That baseline is the author's claim and I did not verify it.
  4. Skill evaluation plan not executed. Plan 56abeee3e3481889c60f26104548fabd2f2e09e0e883c2bc12b48e55f26bdb15 is planned/unexecuted: 0 comparisons, budget state blocked, 133 uncovered paths with no reviewer disposition. The uncovered scope needs an explicit disposition for each claim (verified, refuted or unverified).

What I checked at head a22636c5

  • src/inferrsi/harness/executor/__init__.py lines 18-31: LocalCpuTarget, prepare_generation, read_prepared_binding, project_prepared_binding and verify_prepared_binding are exposed lazily through __getattr__, matching the body's import line. Lines 55-57 define request_digest with only hashlib, os, sys, importlib.resources and json_v1 loaded at module top. The parent packages' __init__.py files were not read, so the cold-import claim is only partly checked.
  • src/inferrsi/harness/api/__init__.py lines 1-19: LocalCpuTarget is no longer exported from api, and Harness stays lazily loaded. This matches the body's removal of the legacy api.LocalCpuTarget.
  • The harness root no longer contains local_process, launch_records, device_lease, candidates, confinement, artifact_sandbox or skill_evaluation. They now live under executor/. attempt_recovery.py is still at the root, and the body does not list it as migrated. The author should say whether it is in scope.

Not verified here

  • The diff contents (see blocker 1).
  • Governing issue #702 and its accepted scope. The issue read overflowed and could not be opened in full. The gating in decision #702 (the records export mechanism and a leaf errors module) is therefore not confirmed. The errors module likely sits at src/inferrsi/contracts/_harness_errors.py (imported at harness/api/__init__.py line 3), which I did not open.
  • Wheel and source SHA-256 values, receipt digests, the 469/75/107 check counts and the 93/7 test counts. Nothing was re-run.
  • No tests were run.

Next step

The author should restore a complete diff, post the Linux CI results, show the Windows baseline, and give the uncovered-path disposition. The two named reviewers should post formal reviews on the head. Dong-bot will re-read after the author pushes.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017 补充 a22636c5 的复核材料。

  • 完整改动。 已把 GitHub Files API 的两页(100 + 16)与 git diff -M --name-only 1c5e9d40 a22636c5 逐项比对,116 个路径全部相符,合计 +522/−359。API 省略 patch 的三项都是零行修改的原样改名。关闭重命名识别后得到 133 个路径,与 Skill Eval 的清单数量一致。可以逐文件复核。完整 diff
  • 范围。 attempt_recovery.py 的恢复状态和唯一结算由 P9 迁往 Manager。P6 更新了它对 Executor 的调用。共享错误在 P5 随 Records 合入,公开类型身份已在 P6 正常 wheel 的新解释器复核。冻结清单第 9 行 · P5 合入回执
  • Windows 对照。 P5 送审提交和 P6 基点的 Git tree 相同(8f34bbb9)。对比 P5 重跑的两个 JUnit 文件与 P6 的 171 项 delivery/Skill Eval 结果,失败的 15 个测试 ID 逐项相同。10 个报告 WinError 1314,另 5 个涉及换行与冻结字节。相同失败集合按 classname::name 排序、UTF-8/LF 拼接且无尾换行的 SHA-256 为 20cf34f59a26189a2217d79ec05c77a19b2a09c84711560611ee23f816f5a46f。GitHub 的 Windows/macOS 兼容检查和两个 Ubuntu 安装包检查已通过,Ubuntu 两个全量任务可从同一次运行查看。CI
  • Skill Eval 的 133 个路径。 本次变更涉及执行代码、调用者、测试、文档及离线证据工具。计划列出零个 canonical Skill 变更和零个生成索引变更,生成的模型比较为零。作者已用真实 CPU 进程验证启动与清理、固定候选篡改拒绝、同次重放,用已安装包验证 API 与轻量导入。模型或技能收益、设备端性能均未验证。请独立评审按这些具体主张给出处置。计划 · 源提交与安装包回执 · 项目的非付费验收约定

Require the exact Records import graph after the Harness root Verdict alias
was removed. A future eager import of contracts.claim now fails the check.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author)
Signed-off-by: dongxinwen <[email protected]>
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex 代表 @Dong1017,请 @david6666666 和 @zengchuang-hw 复核当前提交 998eece06d560849af81003645d60e30d9d7c2d9。这次提交只改了 RunStore 的一项测试。首轮 Linux 全量测试指出,旧断言要求加载已经删除的根层 Verdict。现在用干净的 Python 进程比较全部已加载的 InferRSI 模块,再次引入那条依赖会使测试失败。RunStore 专项通过 49 项,另有 1 项平台跳过。首轮失败位置

David 请看 Records 的冷导入边界、准备候选的四个公开入口与 D023。Zeng 请看真实 CPU 启动、超时清理、重复请求,以及普通会话补跑 assess 的回执。本次正常 wheel 的 SHA-256 为 1acd1ef7ad33bb131a3ac7c364b08a40b7ec46d1c7ac6b7506666229ef1850e7。重新从源码树外运行了 93 项准备/边界检查、7 项保留与恢复检查、两个普通会话入口和 8 次跨指纹拒绝。普通会话的静态指纹涵盖 53 份文件,两套 Linux 安装包检查均已通过。包、源归档和三份回执的摘要已更新到 PR 正文。本次 CI

@Dong1017 Dong1017 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR review verdict — DO NOT PASS

Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).

Reviewed base 1c5e9d40de9b56f29a01d27b7f329245b56599b7 and head 998eece06d560849af81003645d60e30d9d7c2d9 (full PR, P6, not an incremental range; the earlier DO NOT PASS on a22636c5 remains the reference for prior blockers). This is a self-review: the PR author is Dong1017, so this COMMENT is not an independent approval and does not count toward the two required approvals.

Blockers

  1. The diff is incomplete for this head. pr/meta.json has diffComplete: false. pr/diff.patch is a single ~151 KB line and I could not page through it in this session, so I did not review the 133-path change line by line. Under the review policy this cannot PASS. Needed: a complete diff for 998eece06d560849af81003645d60e30d9d7c2d9, or a per-file review of the paths the seed does not show.
  2. No independent review on this head. pr/prior-reviews.md lists no formal review on 998eece0. The 21:14Z request asks @david6666666 (Records cold import, the four prepared-candidate entries, D023) and @zengchuang-hw (real CPU launch, timeout cleanup, same-attempt replay, the ordinary-session assess recovery) to review it. Neither has posted. Merge needs two eligible approvals from accounts that are not the author or accountable parent.
  3. CI and the Windows baseline are not in the evidence. The PR body cites the Linux installed-package jobs and CI run 45896058133. The seed contains no check results for 998eece0, so I have not verified those jobs. The Windows delivery/Skill Eval group still shows 15 failures (151 pass, 5 skip). The body says they match the pre-migration failure set by SHA-256 20cf34f5…a46f; I have not recomputed that digest and the per-test JUnit files are not in the seed.
  4. Skill Eval scope needs a reviewer disposition. The planned evaluation (pr/thread.md, comment 7202997219) is planned and unexecuted, selects 0 comparisons, and lists 134 uncovered or unsupported paths. The plan itself says uncovered scope needs a case or an explicit reviewer disposition. No disposition has been recorded. The claims in the PR body (real CPU launch and cleanup, tampered-candidate rejection, same-attempt replay, installed-API and light-import behaviour, 53 static fingerprints) are backed by receipts that I have not reproduced.

What I checked at 998eece0 (seed-independent)

  • src/inferrsi/harness/api/__init__.py (lines 1-19) exports only PUBLIC_ERROR_CODES, Harness, PartialExecutionFacts and PublicError. LocalCpuTarget is not exported, which matches the claimed removal of api.LocalCpuTarget.
  • src/inferrsi/harness/__init__.py is a docstring only. Root Verdict / parse_verdict are not exported there, which matches the claimed removal.
  • src/inferrsi/harness/executor/__init__.py (lines 1-57) resolves LocalCpuTarget, prepare_generation and the three prepared-binding functions lazily through __getattr__. request_digest (line 55) is defined inline and needs only hashlib and inferrsi.contracts.json_v1 at import. That is consistent with the cold-import claim.
  • Transitive imports for that cold path are only partly checked. inferrsi/__init__.py imports _version, and contracts/__init__.py imports RunSpec from runspec.py, whose top-level imports (lines 1-30) are stdlib only. I did not trace the rest of runspec.py or json_v1.py lines 31-153.
  • src/inferrsi/harness/executor/_target.py (lines 1-48) imports harness.records._run_store at module top, so loading LocalCpuTarget pulls RunStore in. That is consistent with it being outside the cold request_digest path.
  • src/inferrsi/harness/attempt_recovery.py (lines 1-80) remains under harness/ and calls executor.launch_records.observe, consistent with the note that P6 only updates its Executor calls and P9 moves recovery settlement to Manager. The 42 AST-identical definitions in the candidate, confinement, Skill Eval and sandbox modules are not verified here.

Not verified here

  • The full diff for 998eece0 (blocker 1).
  • Any test, CI or installed-wheel result for 998eece0. I did not run tests.
  • The wheel and source-archive SHA-256 values in the PR body.
  • The Skill Eval receipts and the uncovered-path disposition.

What would clear this

A complete diff for 998eece0, or a per-file review of the missing paths. Current-head check results for the Linux installed jobs and the Windows failure set. A recorded reviewer disposition for the 134 Skill Eval uncovered paths. Then two independent approvals from eligible reviewers. A push of new commits will be re-read after the author pushes; if the head changes, the next review will be scoped to the new head.


Self-review: the PR author and the posting account are the same, so this review is not an independent approval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:harness Harness module: profile, A/B loop, quality gates, evidence reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant